﻿@model IEnumerable<ClevelandFreeClinic.Models.FrontPageKeyPoint>

@{
    ViewBag.Title = "Index";
}
<div class="IndexOfCRUD">
<h2>Index</h2>

<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.FrontPageKeyPointText)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.DisplayOrder)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Display)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.FrontPageKeyPointText)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.DisplayOrder)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Display)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.FrontPageKeyPointId }) |
            @Html.ActionLink("Details", "Details", new { id=item.FrontPageKeyPointId }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.FrontPageKeyPointId })
        </td>
    </tr>
}

</table>

</div>
<link href="~/Content/css/style.css" rel="stylesheet" />
